package com.dyz.domain.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "NoticeDTO", description = "公告信息")
public class NoticeDTO {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "标题", required = true)
    private String title;
    @ApiModelProperty(value = "内容", required = true)
    private String content;
    @ApiModelProperty(value = "作者")
    private String author;
    @ApiModelProperty(value = "排序", required = true)
    private Integer sort;
    @ApiModelProperty(value = "描述",required = true)
    private String description;
}
